package com.wsl.sale.aop;


import com.wsl.sale.aop.annotation.Action;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:wangshuliang
 * @Description:
 * @Date:Created in 8:03 2019/5/9
 * @Modified by:
 */
@RestController
public class DemoAnnotationService {
    @RequestMapping("/annotation")
    @Action(name = "注解式拦截的add操作")
    public String  add(String name){
        return "hello name  我是注解式拦截的操作";
    }
}
